﻿using ED.FreeSql.Core;
using ED.Entity;
using ED.IRepository.Menu;

namespace ED.Repository.Menu
{
    public class MenuRepository : Repository<Base_MenuEntity>, IMenuRepository
    {
        public async Task<string> GetAsync()
        {
            await Orm.TransactionAsync(async() =>
            {
                // 异步事务提交
                Console.WriteLine("异步事务提交后 查看");
            });

            return "" ;
        }
    }
}
